package com.mall.mymall.dao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 十里坡
 * @since 2025-03-14
 */
public class UserSimilarity implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "user1_id", type = IdType.AUTO)
    private Integer user1Id;

    private Integer user2Id;

    private BigDecimal similarityScore;


    public Integer getUser1Id() {
        return user1Id;
    }

    public void setUser1Id(Integer user1Id) {
        this.user1Id = user1Id;
    }

    public Integer getUser2Id() {
        return user2Id;
    }

    public void setUser2Id(Integer user2Id) {
        this.user2Id = user2Id;
    }

    public BigDecimal getSimilarityScore() {
        return similarityScore;
    }

    public void setSimilarityScore(BigDecimal similarityScore) {
        this.similarityScore = similarityScore;
    }

    @Override
    public String toString() {
        return "UserSimilarity{" +
        "user1Id=" + user1Id +
        ", user2Id=" + user2Id +
        ", similarityScore=" + similarityScore +
        "}";
    }
}
